<!--
 * @Description: 
 * @version: 
 * @Author: Eve
 * @Date: 2019-10-08 12:55:55
 * @LastEditors: Eve
 * @LastEditTime: 2019-10-08 12:58:44
 -->
<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    .left {
      float: left;
      width: 300px;
      margin-right: 10px;
      background: red;
    }

    .right {
      overflow: hidden;
      /* 创建BFC */
      background: yellow;
    }
  </style>
</head>

<body>
  <!-- 两栏布局，左边固定，右边自适应，左右不重叠 -->
  <div class="left">
    我是固定的
  </div>
  <div class="right">
    我是自适应的
  </div>
</body>

</html>